-
Home
-
Premium Packages – Sell Digital Products Securely
-
5.5.6
-
Code
-
Classes
- Cart
Total Complexity |
106 |
Dependencies |
8 |
Dependents |
2 |
Total lines |
604 |
Lines of code |
403 |
Logical lines of code |
277 |
Comment lines |
67 |
Methods |
35 |
Properties |
4 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
addItem() |
A |
43 |
10 |
47 |
render() |
A |
46 |
7 |
36 |
itemInfo() |
A |
52 |
8 |
20 |
updateItem() |
S |
53 |
7 |
23 |
getCartPrice() |
S |
52 |
6 |
22 |
loadSaved() |
S |
54 |
6 |
20 |
addDynamicItem() |
S |
49 |
5 |
30 |
getItems() |
S |
58 |
6 |
14 |
cartTotal() |
S |
58 |
5 |
16 |
processExtraGigs() |
S |
57 |
5 |
15 |
getCoupon() |
S |
63 |
4 |
9 |
removeItem() |
S |
61 |
3 |
13 |
itemThumb() |
S |
59 |
3 |
12 |
isRecurring() |
S |
67 |
3 |
7 |
itemLink() |
S |
64 |
3 |
8 |
calculateTax() |
S |
63 |
3 |
10 |
clear() |
S |
61 |
2 |
13 |
gigsCost() |
S |
69 |
2 |
7 |
getID() |
S |
65 |
2 |
10 |
getTax() |
S |
79 |
1 |
3 |
couponDiscount() |
S |
73 |
1 |
4 |
isEmpty() |
S |
76 |
1 |
4 |
onUserLogin() |
S |
66 |
1 |
8 |
__construct() |
S |
100 |
1 |
2 |
updateCart() |
S |
100 |
1 |
2 |
itemCost() |
S |
62 |
1 |
10 |
getRoleDiscount() |
S |
83 |
1 |
3 |
save() |
S |
64 |
1 |
9 |
clearCoupon() |
S |
72 |
1 |
5 |
applyCoupon() |
S |
100 |
1 |
2 |
isLocked() |
S |
79 |
1 |
3 |
unlockCart() |
S |
76 |
1 |
4 |
lockCart() |
S |
79 |
1 |
3 |
update() |
S |
79 |
1 |
3 |
clearAll() |
S |
71 |
1 |
6 |